<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   design_default
 * @package    Mage
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>
    <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
    <form action="<?php echo $action ?>" method="post" id="form-validate">
    <fieldset class="group-select">
        <legend><?php echo $this->__('Change Account Password') ?></legend>
        <ul>
            <li>
                <div class="input-box">
                    <label for="current_password"><?php echo $this->__('Current Password') ?> <span class="required">*</span></label><br/>
                    <input type="password" class="required-entry input-text" name="current_password" id="current_password"/>
                </div>
                        </li>
            <li>
                <div class="input-box">
                    <label for="password"><?php echo $this->__('New Password') ?> <span class="required">*</span></label><br/>
                    <input type="password" class="required-entry validate-password input-text" name="password" id="password"/>
                </div>
                <div class="input-box">
                    <label for="confirmation"><?php echo $this->__('Confirm New Password') ?> <span class="required">*</span></label><br/>
                    <input type="password" class="required-entry validate-cpassword input-text" name="confirmation" id="confirmation"/>
                </div>
            </li>
        </ul>
    </fieldset>
    <div class="button-set">
        <p class="required"><?php echo $this->__('* Required Fields') ?></p>
        <a href="<?php echo $this->getUrl('customer/account') ?>" class="float-left">&laquo; <?php echo $this->__('Back') ?></a>
        <button class="form-button" type="submit"><span><?php echo $this->__('Save Password') ?></span></button>
    </div>
    </form>
    <script type="text/javascript">
        var dataForm = new VarienForm('form-validate');
    </script>